<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget" xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:ajax="http://www.apusic.com/jsf/ajax"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:kd="http://www.kingdee.com/jsf/component">
	<script type="text/javascript">
		function confirmDelete() {
			var msg = resource["confirmDeleteBill"];
			if(!confirm(msg)) return false;
		}
	</script>
	<kd:jsMessageBundle  jsVar="resource" resourceName="com.kingdee.bos.waf.winlet.resources.LocalStrings" locale="#{beanName.locale}"/>
	<w:toolBar binding="#{beanName.toolbar }">
		<w:button id="btn-addNew" allowReEnter="false" value="#{msgs['addNew']}" actionBinding="#{beanName.addNewAction}" />
		<w:button id="btn-edit" allowReEnter="false" value="#{msgs['edit']}" actionBinding="#{beanName.editAction}" />
		<w:button id="btn-view" allowReEnter="false" value="#{msgs['view']}" actionBinding="#{beanName.viewAction}" />
		<w:button id="btn-delete" value="#{msgs['delete']}" onclick="return confirmDelete();"  actionBinding="#{beanName.deleteAction}" />
		<w:button id="btn-filtrate" allowReEnter="false" value="#{msgs['filtrate']}" actionBinding="#{beanName.queryAction}" />
		<w:button id="btn-refresh" allowReEnter="false" value="#{msgs['refresh']}" actionBinding="#{beanName.refreshAction}" />
		<w:button id="btn-createTo" allowReEnter="false" value="#{msgs['createTo']}" actionBinding="#{beanName.createToAction}" />
		<w:button id="btn-createVoucher" allowReEnter="false" value="#{msgs['createVoucher']}" actionBinding="#{beanName.createVoucherAction}" />
		<w:button id="btn-traceUp" allowReEnter="false" value="#{msgs['traceUp']}" actionBinding="#{beanName.traceUpAction}" />
		<w:button id="btn-traceDown" allowReEnter="false" value="#{msgs['traceDown']}" actionBinding="#{beanName.traceDownAction}" />
		<w:button id="btn-exit" allowReEnter="false" value="#{msgs['exit']}" actionBinding="#{beanName.exitAction}" immediate="true" />
	</w:toolBar>
</f:view>